{% extends "admin/base_site.html" %}
{% block content %}
<form method="post" class="form-horizontal">
{{ form.non_field_errors }}
<div class="fieldWrapper">
    {{ form.subject.errors }}
    <label for="{{ form.subject.id_for_label }}">{{ form.subject.label }}</label>
    {{ form.subject }}
</div>
<div class="fieldWrapper">
    {{ form.message.errors }}
    <label for="{{ form.message.id_for_label }}">{{ form.message.label }}</label>
    {{ form.message }}
</div>
<div class="fieldWrapper">
    {{ form.sender.errors }}
    <label for="{{ form.sender.id_for_label }}">{{ form.sender.label }}</label>
    {{ form.sender }}
</div>
<div class="fieldWrapper">
    {{ form.cc_myself.errors }}
    <label for="{{ form.cc_myself.id_for_label }}">{{ form.cc_myself.label }}</label>
    {{ form.cc_myself }}
</div>
<div class="fieldWrapper">
    <button type="submit">Submit</button>
    </div>
</form>
{% endblock %}